Skip to content

Conversation

@3v1n0
Copy link
Contributor

@3v1n0 3v1n0 commented Nov 21, 2025

What does this PR do

Adds IUCLC definition

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

Needs: rust-lang/libc#4846
Related: uutils/coreutils#9432

@3v1n0 3v1n0 marked this pull request as draft November 21, 2025 23:45
@3v1n0
Copy link
Contributor Author

3v1n0 commented Nov 21, 2025

Marking a draft until newer libc is released

@3v1n0
Copy link
Contributor Author

3v1n0 commented Dec 3, 2025

As update, this landed in libc 0.2.178, but... That also broke nix tests, and so we need to wait for the new one that will contain rust-lang/libc@d5b0f29 🤯

3v1n0 added 5 commits January 12, 2026 18:14
It's required to expose missing definitions used by coreutils
As in OpenBSD this was removed upstream and from libc:
 - NetBSD/src@091e152
 - rust-lang/libc@35d5592
The type changed in libc, so we can just consistently used the same type
@3v1n0
Copy link
Contributor Author

3v1n0 commented Jan 13, 2026

This now depends on #2724

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant